package net.edu_soft.ec.asset.pojo;

import java.io.Serializable;

public class UserAff implements Serializable {
    /**
     * 用户附属id
     */
    private Integer userAffId;

    /**
     * 用户信息id
     */
    private Integer userInfoId;

    /**
     * 厂家ids
     */
    private String factoryIds;

    /**
     * 产品ids
     */
    private String productIds;

    /**
     * 产品类型ids
     */
    private String productTypeIds;

    /**
     * 状态0可用 1不可用
     */
    private Integer status;

    private static final long serialVersionUID = 1L;

    public Integer getUserAffId() {
        return userAffId;
    }

    public void setUserAffId(Integer userAffId) {
        this.userAffId = userAffId;
    }

    public Integer getUserInfoId() {
        return userInfoId;
    }

    public void setUserInfoId(Integer userInfoId) {
        this.userInfoId = userInfoId;
    }

    public String getFactoryIds() {
        return factoryIds;
    }

    public void setFactoryIds(String factoryIds) {
        this.factoryIds = factoryIds == null ? null : factoryIds.trim();
    }

    public String getProductIds() {
        return productIds;
    }

    public void setProductIds(String productIds) {
        this.productIds = productIds == null ? null : productIds.trim();
    }

    public String getProductTypeIds() {
        return productTypeIds;
    }

    public void setProductTypeIds(String productTypeIds) {
        this.productTypeIds = productTypeIds == null ? null : productTypeIds.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userAffId=").append(userAffId);
        sb.append(", userInfoId=").append(userInfoId);
        sb.append(", factoryIds=").append(factoryIds);
        sb.append(", productIds=").append(productIds);
        sb.append(", productTypeIds=").append(productTypeIds);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}